package com.aliatry.excel.tdo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.metadata.BaseRowModel;
import lombok.Getter;
import lombok.Setter;

/**
 * 导出 Excel 时使用的映射实体类,Excel 模型
 *
 * @author Simon
 */
@Getter
@Setter
public class ExportInfo extends BaseRowModel {
    @ExcelProperty(value = "NAME", index = 0)
    private String name;

    @ExcelProperty(value = "AGE", index = 1)
    private String age;

    @ExcelProperty(value = "EMAIL", index = 2)
    private String email;
}